<?
	
	 $title="News &amp; Events ";
	 require("required/dbconnect.php");
	 require("required/share_function.php");
	 require("required/header.php");
	 require("required/function.php");
	 
	
	  ?>
<script src="facefiles/jquery-1.2.2.pack.js" type="text/javascript"></script>
<link href="facefiles/facebox.css" media="screen" rel="stylesheet" type="text/css" />
<script src="facefiles/facebox.js" type="text/javascript"></script>

<script type="text/javascript">
    jQuery(document).ready(function($) {
      $('a[rel*=facebox]').facebox() 
    })
	
</script>	 

	<table width="100%" align="center" cellpadding="4" cellspacing="0" >
	<tr>
		<td class="page_title_bar" height="30" valign="middle">
			News &amp; Events
		</td>
	</tr>	
	<tr>
		<td colspan="3" valign="top" height="300">
			<table width="90%" align="center" cellpadding="0" cellspacing="0">
				
				<?
					$get_news=mysql_query("select * from os_news where type=2 and status=1 order by create_date desc");
				
				 if(mysql_num_rows($get_news)==0){ ?>
				<tr valign="top">
					<td align="center" colspan="2">
					- No Record -
					</td>
				</tr>
				<? 
					}
					else
					{
						$no=1;
				?>
				
					
					
					<?			
							while($news=mysql_fetch_array($get_news,MYSQL_ASSOC))
							{
									$url="os_viewevent.php?id=".$news['id'];
									$target="";
								
					?>
					<tr>
					<td >
					<font style="font-size:16;color:#007586;font-weight:bold"><?= $news['title_eng'] ?></font><br>
					<font style="font-size:10;color:#007586"><?= convertDate($news['create_date'],"l, d F Y") ?></font><br>
					<br>
					<?= $news['content_eng'] ?>
					<hr>
					</td>
					</tr>
					<?
							}
					?>
					
				<?
					}
				?>
			</table>
		</td>
	</tr>	
	</table>

<? require("required/footer.php") ?>